Serializes the specified Object and writes the XML-document instance to a file using the specified XmlWriter
シンタックス
'宣言
Public Overloads Sub Serialize( _
ByVal As System.Xml.XmlTextWriter, _
ByVal As System.Object, _
ByVal As System.Reflection.MemberInfo, _
ByVal As System.Xml.Serialization.XmlSerializerNamespaces, _
ByVal () As System.Attribute _
)
public void Serialize(
System.Xml.XmlTextWriter ,
System.object ,
System.Reflection.MemberInfo ,
System.Xml.Serialization.XmlSerializerNamespaces ,
System.Attribute[]
)
パラメータ
- writer
- The XmlWriter used to write the XML-document instance
- o
- The Object to serialize
- mi
- The FieldInfo or MemberInfo object context for the object to serialize
- namespaces
- The XmlSerializerNamespaces referenced by the object
- filter
- Array of attributes that specify what to serialize
参照